/*
 *
 * (c) Copyright Ascensio System Limited 2010-2023
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
*/


#accountsPanel {
    #accounts_panel_content {
        max-height: 238px;
        overflow-y: hidden;

        .menu-item.none-sub-list {
            padding: 2px 0 3px 0;
            height: 19px;

            a {
                display: inline-block;
                line-height: 19px;
                height: 19px;
                color: @text-color;
                white-space: nowrap;
                text-decoration: none;
                font-size: 12px;
                padding-left: 0;
                max-width: 210px;

                &.tag {
                    background-color: @hover-panel;
                    margin: 0;

                    :after {
                        content: " ";
                        position: absolute;
                        border-top: 10px solid transparent;
                        border-bottom: 10px solid transparent;
                        left: 100%;
                        border-left: 7px solid @hover-panel;
                    }
                }

                * {
                    text-overflow: ellipsis;
                }
            }
        }
    }

    .more {
        margin-top: -20px;
        position: relative;

        .shadow {
            background: url("@{background-sprite-url}") repeat-x 0 0;
            height: 20px;
        }

        .text {
            color: @light-gray-text-color;
            height: 19px;
            display: inline-block;
        }
    }

    &.left-margin,
    .more.left-margin {
        margin-left: 17px;
    }
}